package com.roncoo.student.stu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDate;
import java.time.LocalTime;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author jl
 * @since 2021-04-09
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserFavorites implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 课程编号
     */
    private Integer courseNo;

    /**
     * 课程名
     */
    private String courseName;

    /**
     * 课程封面
     */
    private String courseCover;

    /**
     * 用户主键
     */
    private Integer userId;

    /**
     * 收藏的时间
     */
    private LocalDate favTime;


}
